package com.myzhouye.starter.ticket.properties;/***
 *                    _ooOoo_
 *                   o8888888o
 *                   88" . "88
 *                   (| -_- |)
 *                    O\ = /O
 *                ____/`---'\____
 *              .   ' \\| |// `.
 *               / \\||| : |||// \
 *             / _||||| -:- |||||- \
 *               | | \\\ - /// | |
 *             | \_| ''\---/'' | |
 *              \ .-\__ `-` ___/-. /
 *           ___`. .' /--.--\ `. . __
 *        ."" '< `.___\_<|>_/___.' >'"".
 *       | | : `- \`.;`\ _ /`;.`/ - ` : | |
 *         \ \ `-. \_ __\ /__ _/ .-` / /
 * ======`-.____`-.___\_____/___.-`____.-'======
 *                    `=---='
 *
 * .............................................
 *          佛祖保佑             永无BUG
 */

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @program: ticket-spring-boot-starter
 * @description: 配置参数
 * @author: 那条蠢鱼
 * @create: 2024-11-14 15:32
 **/
@Data
@ConfigurationProperties(prefix = "maple.ticket")
public class TicketProperties {

    /**
     * 缓存前缀
     */
    private String cacheKey="ticket";

    /**
     * ticket默认有效期(毫秒):10分钟(1000*60*10)
     */
    private long ticketAliveTime=600000;
}
